<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            background-color: #f8f8f8;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            overflow: hidden; /* 防止滚动条出现 */
        }

        .header {
            background-color: #f8f8f8;
            color: #ff7700;
            text-align: center;
            padding: 10px 0;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }

        .login-container {
            display: flex;
            width: 800px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-top: 60px;
        }

        .login-image {
            width: 40%;
            height: 400px;
            background-image: url('img/cardbg.png');
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .login-form {
            padding: 40px;
            width: 60%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
        }

        .login-form h2 {
            margin-bottom: 20px;
            font-size: 24px;
            color: #ff7700;
        }

        .login-form .profile-image {
            position: absolute;
            top: 20px;
            left: 200px;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 2px solid #ff7700;
        }

        .login-form input[type="text"],
        .login-form input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

        .login-form input[type="checkbox"] {
            margin-right: 10px;
        }

        .login-button {
            width: 100%;
            padding: 10px;
            background-color: #ff7700;
            color: lightgoldenrodyellow;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        .login-button:hover {
            background-color: #ff9900;
        }

        .footer-image {
            width: 100%;
            position: fixed;
            bottom: 0;
            left: 0;
            background-color: #f8f8f8;
            height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .footer-image img {
            max-width: 1800px;
            max-height: 200px;
            animation: scroll-left 10s linear infinite; /* 添加动画 */
        }

        @keyframes scroll-left {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>MDONG梦动 梦巢产创班管理平台</h1>
    </div>
    <div class="login-container">
        <div class="login-image"><img src="./img/黄卡.jpg" alt=""></div>
        <div class="login-form">
            <img src="/img/大头.png" alt="Profile Image" class="profile-image">
            <form action="/login" method="post">
                <div class="input-group">
                    <span class="icon-user"></span>
                    <input type="text" id="username" name="username" placeholder="用户名" required>
                </div>
                <div class="input-group">
                    <span class="icon-lock"></span>
                    <input type="password" id="password" name="password" placeholder="密码" required>
                </div>
                <div class="remember-me">
                    <input type="checkbox" id="remember" name="remember">
                    <label for="remember">保持会话</label>
                </div>
                <button type="submit" class="login-button">登录</button>
            </form>
        </div>
    </div>
    <div class="footer-image">
        <img src="img/飘带.png" alt="Footer Image">
    </div>
</body>
</html>